]> dgit.raspbian.org Git - gnome-shell.git/commit
ibusManager: Use const correctly
authorPhilip Chimento <philip@endlessm.com>
Fri, 10 Feb 2017 02:11:28 +0000 (18:11 -0800)
committerPhilip Chimento <philip.chimento@gmail.com>
Fri, 10 Feb 2017 21:19:08 +0000 (13:19 -0800)
commitf7752ac6994e35cf3b1daa1237eda9175ae4188c
tree260ac810c7d7211a88644668b706881a2789dc52
parentd017e6749cacf8770726308084eefac3d746a50b
ibusManager: Use const correctly

Per ES6, a variable declared const should only be valid inside its lexical
scope. Previously, GJS would accept this code, but that will change in the
SpiderMonkey JS engine in the next release of GJS.

https://bugzilla.gnome.org/show_bug.cgi?id=778425
js/misc/ibusManager.js